POV-Ray : Newsgroups : povray.binaries.images : Fire Opal - W.I.P.(60 K) : Re: Fire Opal - W.I.P.(60 K) Server Time
1 Oct 2024 22:28:25 EDT (-0400)
  Re: Fire Opal - W.I.P.(60 K)  
From: David Heys
Date: 9 Jul 2000 16:46:40
Message: <3968e4b0@news.povray.org>
> Wow, I always wanted to make a good opal - this is great! Can it work for
> the blue/green opals too?

Well, since the the texture is mostly just an emitting media with a density
map, it'd just be a matter of changing the colors. Here's the texture:

  pigment {Gold/2 filter 0.5 transmit 0.5}
  finish {blinn 40 facets 0.062105 reflection 0.15}
  interior {
   ior 1.5
   media {
    emission 1.0
    method 3
    density {
     bozo
     scale <.4,0.3,0.3>
     turbulence .85
     octaves 2
     lambda 1.01
     omega .75
     rotate 90*z
     density_map {
      [0    Gold/2]
      [0.1  Gold/4]
      [0.2  Coral/4]
      [0.3  Coral/2]
      [0.4  agate
            color_map {
             [0 Gold/2]
             [0.2 rgb 0]
             [0.4 Coral/2]
             [0.6 rgb 0]
             [1.0 SpicyPink/3]
            }
            scale 0.1
      ]
      [0.5  rgb -.25]
      [0.6  granite
            color_map {
             [0 SpicyPink/3]
             [0.2 rgb 0]
             [0.4 Gold/2]
             [0.6 rgb 0]
             [1.0 Coral/2]
            }
            scale 0.1
      ]
      [0.7  Coral/2]
      [0.8  Coral/4]
      [0.9  Gold/4]
      [1    Gold/2]
     }
    }
    scale 5
   }
  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.